package com.nbufe.bridge.demo2;

/**
 * @Author Zan
 * @Create 2024/5/13 8:24
 * @ClassName: Client
 * @Description : TODO 请用一句话描述该类的功能
 */
public class Client {
    public static void main(String[] args) {
        FilpPhone phone = new FilpPhone();
        phone.setBrand(new Mate60());
        phone.use();

        System.out.println("==========");

        BarPhone barPhone = new BarPhone();
        barPhone.setBrand(new HongMi());
        barPhone.use();
    }
}
